package com.yxuan.springboot.service.impl;

import com.yxuan.springboot.mapper.SchoolInformationMapper;
import com.yxuan.springboot.model.BaseSchoolInformation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.yxuan.springboot.model.FocusSchool;
import com.yxuan.springboot.service.FocusSchoolService;

import java.util.List;

/**
 * 
 * @author zchao
 *    FocusSchool业务层实现类
 * @date 2023-06-11 15:52:24
 */
@Service
@Transactional
public class FocusSchoolServiceImpl extends BaseServiceImpl<FocusSchool> implements FocusSchoolService {

    @Autowired
    private SchoolInformationMapper schoolInformationMapper;

    @Override
    public List<BaseSchoolInformation> getFocusByUserID(Integer userID) {
        return schoolInformationMapper.queryFocusByUserID(userID);
    }
}
